package jnpf.fico.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 收款明细表
 *
 * @版本： V3.2.0
 * @版权： 智果云科技（https://www.jnpfsoft.com）
 * @作者： JNPF开发平台组
 * @日期： 2024-10-25
 */
@Data
@TableName("zcgl_cw_sz_item")
public class ZcglCwSzItemEntity {

    public static final Integer STATUS_1 = 1;//正常
    public static final Integer STATUS_2 = 2;//作废

    @TableId("F_ID")
    private String id;

    @TableField("F_PARENTID")
    private String parentid;

    @TableField("F_CREATORUSERID")
    private String creatoruserid;

    @TableField("F_CREATORTIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date creatortime;

    @TableField("F_DESCRIPTION")
    private String description;

    @TableField("EXPENSE_ITEM")
    private String expenseItem;

    @TableField("RECEIVE_AMOUNT")
    private BigDecimal receiveAmount;

    @TableField("RECEIVED_AMOUNT")
    private BigDecimal receivedAmount;

    @TableField("UNPAID_AMOUNT")
    private BigDecimal unpaidAmount;

    @TableField("TRANSACTION_AMOUNT")
    private BigDecimal transactionAmount;

    @TableField("BILL_NO")
    private String billNo;

    @TableField("STATUS")
    private Integer status;

}
